package com.car.loan.project.xr.util.bo.business.payment;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description 业务付款申请
 * @date 2019/11/26 17:09
 */
@Data
public class LoanPaymentApplyBo {

    @ApiModelProperty(value = "业务id", required = true)
    @NotNull
    private String loanId;

    @ApiModelProperty(value = "0=保存 1=提交", required = true)
    @NotNull
    @Min(0)
    @Max(1)
    private Long operatorStatus;

    /**
     * 购置税
     */
    @ApiModelProperty("购置税")
    private Double purchaseTax;

    /**
     * 保险费
     */
    @ApiModelProperty("保险费")
    private Double insurance;

    /**
     * 评估费
     */
    @ApiModelProperty("评估费")
    private Double evaluation;

    /**
     * GPS安装费
     */
    @ApiModelProperty("GPS安装费")
    private Double gps;

    /**
     * 担保服务费
     */
    @ApiModelProperty("担保服务费")
    private Double guarantee;

    /**
     * 履约保证金
     */
    @ApiModelProperty("履约保证金")
    private Double bond;

    /**
     * 其它费用
     */
    @ApiModelProperty("其它费用")
    private Double other;


    /**
     * 付款账户名
     */
    @ApiModelProperty("付款账户名")
    private String bankAccountName;

    /**
     * 付款开户行
     */
    @ApiModelProperty("付款开户行")
    private String bankName;

    /**
     * 付款账号
     */
    @ApiModelProperty("付款账号")
    private String bankAccountNo;

    /**
     * 结算费率
     */
    @ApiModelProperty("结算费率")
    private Double settleRate;

    /**
     * 折扣率
     */
    @ApiModelProperty("折扣率")
    private Double discountRate;


    @ApiModelProperty(value = "应结金额", required = true)
    @NotNull
    @Min(0)
    private Double shouldAmount;


    /**
     * 业务员账户名
     */
    @ApiModelProperty("结算账户名")
    private String salesmanBankAccountName;

    /**
     * 业务员开户行
     */
    @ApiModelProperty("结算开户行")
    private String salesmanBankName;

    /**
     * 业务员账号
     */
    @ApiModelProperty("结算账号")
    private String salesmanBankAccountNo;
}
